﻿using System;
using System.Collections.Generic;
using System.Text;

using Model;
using DAL;
namespace BLL
{
    public class BllOperater
    {
        public static bool RegisterOperator(Model.Operator op)
        {
            return DAL.DataOperater.RegisterOperator(op);
        }
        public static bool CheckOperaterLogin(Model.Operator op)
        {
            return DAL.DataOperater.ExecCheckOperaterLoginProc(op);
        }
        public static decimal GetCourtPrice(int Court_ID)
        {
            return DAL.DataOperater.GetCourtPrice(Court_ID);
        }
        public static bool BookingInsert(Model.Booking b)
        {
            return DAL.DataOperater.BookingInsert(b);
        }
        public static string GetCourtStatus(int Court_ID)
        {
            return DAL.DataOperater.GetCourtStatus(Court_ID);
        }
        public static string GetChangeCourtStatus(int Court_ID)
        {
            return DAL.DataOperater.GetChangeCourtStatus(Court_ID);
        }

    }
}
